package com.example.demo.api.controller;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class SearchUserLocationForm {
    @NotBlank(message = "tel不能我为空")
    @Pattern(regexp = "^1\\d{10}$",message = "tel内容非法")
    private String tel;
}
